package com.ruoyi.student.domain.DTO;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程对象 t_course_info
 * 
 * @author ruoyi
 * @date 2023-08-15
 */
public class TCourseInfoDTO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String name;

    /** 课程排序 */
    @Excel(name = "课程排序")
    private Long sort;

    /** 所属专业id */
    @Excel(name = "所属专业id")
    private String specialityId;

    /** 所属专业名称 */
    @Excel(name = "所属专业名称")
    private String specialityName;

    /** 课程图片 */
    @Excel(name = "课程图片")
    private String resultImage;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long creatorId;

    /** 课程状态：0无效 1有效 */
    @Excel(name = "课程状态：0无效 1有效")
    private Integer validFlag;

    /** 班級ID */
    @Excel(name = "班級ID")
    private Long classId;

    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }

    public void setResultImage(String resultImage)
    {
        this.resultImage = resultImage;
    }

    public String getResultImage()
    {
        return resultImage;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setSpecialityId(String specialityId) 
    {
        this.specialityId = specialityId;
    }

    public String getSpecialityId() 
    {
        return specialityId;
    }
    public void setSpecialityName(String specialityName) 
    {
        this.specialityName = specialityName;
    }

    public String getSpecialityName() 
    {
        return specialityName;
    }
    public void setCreatorId(Long creatorId) 
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId() 
    {
        return creatorId;
    }
    public void setValidFlag(Integer validFlag) 
    {
        this.validFlag = validFlag;
    }

    public Integer getValidFlag() 
    {
        return validFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("sort", getSort())
            .append("specialityId", getSpecialityId())
            .append("specialityName", getSpecialityName())
            .append("creatorId", getCreatorId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("validFlag", getValidFlag())
            .append("remark", getRemark())
                .append("resultImage", getResultImage())
                .append("classId", getClassId())
            .toString();
    }
}
